package com.ruoyi.system.fastgpt.vo;

import java.io.Serializable;

/**
 * FastGPT的API文件库接口响应
 */
public class FastGptRespVO<T> implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 响应编码
	 */
	private Integer code;

	/**
	 * 响应成功标识
	 */
	private boolean success;

	/**
	 * 响应消息
	 */
	private String message;

	/**
	 * 响应数据
	 */
	private T data;

	public FastGptRespVO() {
		this.code = 200;
		this.success = true;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
